package com.alibaba.entity;

/**
 * Exam entity. 
 * @author kinglcc
 */

public class Exam implements java.io.Serializable {

	// Fields

	private ExamId id;
	private String studentAnswer;

	// Constructors

	/** default constructor */
	public Exam() {
	}

	/** minimal constructor */
	public Exam(ExamId id) {
		this.id = id;
	}

	/** full constructor */
	public Exam(ExamId id, String studentAnswer) {
		this.id = id;
		this.studentAnswer = studentAnswer;
	}

	// Property accessors

	public ExamId getId() {
		return this.id;
	}

	public void setId(ExamId id) {
		this.id = id;
	}

	public String getStudentAnswer() {
		return this.studentAnswer;
	}

	public void setStudentAnswer(String studentAnswer) {
		this.studentAnswer = studentAnswer;
	}

}